package cn.edu.sjtu.se.dslab.component.design.generate.element;

public class PageVariable {
	
	private String displayZoneName;
	private String drawMethodName;
	private int code;
	
	public String getDisplayZoneName() {
		return displayZoneName;
	}
	public void setDisplayZoneName(String displayZoneName) {
		this.displayZoneName = displayZoneName;
	}
	public String getDrawMethodName() {
		return drawMethodName;
	}
	public void setDrawMethodName(String drawMethodName) {
		this.drawMethodName = drawMethodName;
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	
	public String getMethodSignature(){
		StringBuilder sb = new StringBuilder("//");
		sb.append(drawMethodName).append("(").append("&buf, ").append(displayZoneName).append("[0]);");
		return sb.toString();
	}
	
	
}
